package com.csd.dao;

import com.csd.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author :lihainan
 * @ ClassNmae :AdminDao
 * @ Description :TODO
 * @ Date :2020/12/23
 * @ Version 1.0
 */
public interface AdminDao {

    public Admin findAdminByNameAndPassword(@Param("adminname") String adminname,@Param("password") String password);
    public Admin addAdmin(Admin admin);

}
